<!doctype html>
<html class="no-js" lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>Stripe</title>
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script>
    <script>document.documentElement.classList.replace("no-js", "js");</script>
    <script>const storage = localStorage.getItem("dokka-dark-mode")
      if (storage == null) {
        const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
        if (osDarkSchemePreferred === true) {
          document.getElementsByTagName("html")[0].classList.add("theme-dark")
        }
      } else {
        const savedDarkMode = JSON.parse(storage)
        if (savedDarkMode === true) {
          document.getElementsByTagName("html")[0].classList.add("theme-dark")
        }
      }
    </script>
<script type="text/javascript" src="https://unpkg.com/kotlin-playground@1/dist/playground.min.js" async></script>
<script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async></script>
<link href="../../../styles/style.css" rel="Stylesheet">
<link href="../../../styles/main.css" rel="Stylesheet">
<link href="../../../styles/prism.css" rel="Stylesheet">
<link href="../../../styles/logo-styles.css" rel="Stylesheet">
<link href="../../../ui-kit/ui-kit.min.css" rel="Stylesheet">
<script type="text/javascript" src="../../../scripts/safe-local-storage_blocking.js"></script>
<script type="text/javascript" src="../../../scripts/navigation-loader.js" async></script>
<script type="text/javascript" src="../../../scripts/platform-content-handler.js" async></script>
<script type="text/javascript" src="../../../scripts/main.js" defer></script>
<script type="text/javascript" src="../../../scripts/prism.js" async></script>
<script type="text/javascript" src="../../../ui-kit/ui-kit.min.js" defer></script></head>
<body>
<div class="root">
    <header class="navigation theme-dark" id="navigation-wrapper" role="banner">
<a class="library-name--link" href="../../../index.html" tabindex="1">
                    stripe-android
            </a>        <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
        </button>
        <div class="navigation-controls--break ui-kit_mobile-only"></div>
        <div class="library-version" id="library-version">
        </div>
        <div class="navigation-controls">
        <ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
                <button class="platform-tag platform-selector jvm-like" data-active="" aria-pressed="true" data-filter=":payments-core/main">androidJvm</button>
            <div class="dropdown filter-section--dropdown" data-role="dropdown" id="filter-section-dropdown">
                <button class="button button_dropdown filter-section--dropdown-toggle" role="combobox" data-role="dropdown-toggle" aria-controls="platform-tags-listbox" aria-haspopup="listbox" aria-expanded="false" aria-label="Toggle source sets"></button>
                <ul role="listbox" id="platform-tags-listbox" class="dropdown--list" data-role="dropdown-listbox" aria-label="Target filter">
                    <div class="dropdown--header"><span>Target filter</span>
                        <button class="button" data-role="dropdown-toggle" aria-label="Close target filter">
                            <i class="ui-kit-icon ui-kit-icon_cross"></i>
                        </button>
                    </div>
                        <li role="option" class="dropdown--option platform-selector-option jvm-like" tabindex="0">
                            <label class="checkbox">
                                <input type="checkbox" class="checkbox--input" id=":payments-core/main" data-filter=":payments-core/main">
                                <span class="checkbox--icon"></span>
                                androidJvm
                            </label>
                        </li>
                </ul>
                <div class="dropdown--overlay"></div>
            </div>
        </ul>
            <button class="navigation-controls--btn navigation-controls--btn_theme" id="theme-toggle-button" type="button">Switch theme
            </button>
            <div class="navigation-controls--btn navigation-controls--btn_search" id="searchBar" role="button">Search in
                API
            </div>
        </div>
    </header>
    <div id="container">
        <nav id="leftColumn" class="sidebar" data-item-type="SECTION" data-item-config="{&quot;defaultSize&quot;: 280, &quot;minSize&quot;: 200, &quot;maxSize&quot;: 400}">
            <a class="toc--skip-link" href="#main">Skip to content</a>
            <div class="dropdown theme-dark_mobile" data-role="dropdown" id="toc-dropdown">
                <ul role="listbox" id="toc-listbox" class="dropdown--list dropdown--list_toc-list" data-role="dropdown-listbox" aria-label="Table of contents">
                    <div class="dropdown--header">
                            <span>
                                    stripe-android
                            </span>
                        <button class="button" data-role="dropdown-toggle" aria-label="Close table of contents">
                            <i class="ui-kit-icon ui-kit-icon_cross"></i>
                        </button>
                    </div>
                    <div class="sidebar--inner" id="sideMenu"></div>
                </ul>
                <div class="dropdown--overlay"></div>
            </div>
        </nav>
        <div id="resizer" class="resizer" data-item-type="BAR"></div>
        <div id="main" data-item-type="SECTION" role="main">
<div class="main-content" data-page-type="classlike" id="content" pageids="payments-core::com.stripe.android/Stripe///PointingToDeclaration//1599408092">
  <div class="breadcrumbs"><a href="../../index.html">payments-core</a><span class="delimiter">/</span><a href="../index.html">com.stripe.android</a><span class="delimiter">/</span><span class="current">Stripe</span></div>
  <div class="cover ">
    <h1 class="cover"><span><span>Stripe</span></span></h1>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">class </span><a href="index.html">Stripe</a></div><p class="paragraph">Entry-point to the Stripe SDK.</p><p class="paragraph">Supports asynchronous and synchronous methods to access the following Stripe APIs.</p><ul><li><p class="paragraph"><a href="../../com.stripe.android.model/-payment-intent/index.html">Payment Intent API</a> - confirm and retrieve</p></li><li><p class="paragraph"><a href="../../com.stripe.android.model/-setup-intent/index.html">Setup Intents API</a> - confirm and retrieve</p></li><li><p class="paragraph"><a href="../../com.stripe.android.model/-payment-method/index.html">Payment Methods API</a> - create</p></li><li><p class="paragraph"><a href="../../com.stripe.android.model/-source/index.html">Sources API</a> - create and retrieve</p></li><li><p class="paragraph"><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Tokens API</a> - create tokens for <a href="../../../payments-model/com.stripe.android.model/-card/index.html">Card</a>, <a href="../../../payments-model/com.stripe.android.model/-bank-account/index.html">BankAccount</a>, <span data-unresolved-link="com.stripe.android.model/PiiTokenParams///PointingToDeclaration/">PiiTokenParams</span>, and <a href="../../com.stripe.android.model/-account-params/index.html">AccountParams</a></p></li></ul></div></div>
  </div>
  <div class="tabbedcontent">
    <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="CONSTRUCTOR,TYPE,PROPERTY,FUNCTION">Members</button><button class="section-tab" data-togglable="CONSTRUCTOR,TYPE,PROPERTY,FUNCTION,EXTENSION_PROPERTY,EXTENSION_FUNCTION">Members &amp; Extensions</button></div>
    <div class="tabs-section-body">
      <div data-togglable="CONSTRUCTOR">
        <h2 class="tableheader">Constructors</h2>
        <div class="table"><a data-name="-2064820677%2FConstructors%2F1599408092" anchor-label="Stripe" id="-2064820677%2FConstructors%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="CONSTRUCTOR" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="-stripe.html"><span><span>Stripe</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2064820677%2FConstructors%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">context<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/android/content/Context.html">Context</a><span class="token punctuation">, </span></span><span class="parameter ">publishableKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">enableLogging<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">false</span><span class="token punctuation">, </span></span><span class="parameter ">betas<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-set/index.html">Set</a><span class="token operator">&lt;</span><a href="../-stripe-api-beta/index.html">StripeApiBeta</a><span class="token operator">&gt;</span><span class="token operator"> = </span>emptySet()</span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Constructor with publishable key and Stripe Connect account id.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div data-togglable="TYPE">
        <h2 class="tableheader">Types</h2>
        <div class="table"><a data-name="338586290%2FClasslikes%2F1599408092" anchor-label="Companion" id="338586290%2FClasslikes%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="-companion/index.html"><span><span>Companion</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="338586290%2FClasslikes%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">object </span><a href="-companion/index.html">Companion</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div data-togglable="FUNCTION">
        <h2 class="tableheader">Functions</h2>
        <div class="table"><a data-name="-1592477194%2FFunctions%2F1599408092" anchor-label="authenticateSource" id="-1592477194%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="authenticate-source.html"><span>authenticate</span><wbr><span><span>Source</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1592477194%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="authenticate-source.html"><span class="token function">authenticateSource</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">activity<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.html">ComponentActivity</a><span class="token punctuation">, </span></span><span class="parameter ">source<span class="token operator">: </span><a href="../../com.stripe.android.model/-source/index.html">Source</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="authenticate-source.html"><span class="token function">authenticateSource</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">fragment<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/fragment/app/Fragment.html">Fragment</a><span class="token punctuation">, </span></span><span class="parameter ">source<span class="token operator">: </span><a href="../../com.stripe.android.model/-source/index.html">Source</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Authenticate a <a href="../../com.stripe.android.model/-source/index.html">Source</a> that requires user action via a redirect (i.e. <a href="../../com.stripe.android.model/-source/flow.html">Source.flow</a> is <a href="../../com.stripe.android.model/-source/-flow/-redirect/index.html">Source.Flow.Redirect</a>.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-678223204%2FFunctions%2F1599408092" anchor-label="confirmAlipayPayment" id="-678223204%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="confirm-alipay-payment.html"><span>confirm</span><wbr><span>Alipay</span><wbr><span><span>Payment</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-678223204%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="confirm-alipay-payment.html"><span class="token function">confirmAlipayPayment</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">confirmPaymentIntentParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-confirm-payment-intent-params/index.html">ConfirmPaymentIntentParams</a><span class="token punctuation">, </span></span><span class="parameter ">authenticator<span class="token operator">: </span><a href="../-alipay-authenticator/index.html">AlipayAuthenticator</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../-payment-intent-result/index.html">PaymentIntentResult</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Confirm and authenticate a <a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a> using the Alipay SDK</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1268102847%2FFunctions%2F1599408092" anchor-label="confirmAlipayPayment" id="-1268102847%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../confirm-alipay-payment.html"><span>confirm</span><wbr><span>Alipay</span><wbr><span><span>Payment</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1268102847%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../confirm-alipay-payment.html"><span class="token function">confirmAlipayPayment</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">confirmPaymentIntentParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-confirm-payment-intent-params/index.html">ConfirmPaymentIntentParams</a><span class="token punctuation">, </span></span><span class="parameter ">authenticator<span class="token operator">: </span><a href="../-alipay-authenticator/index.html">AlipayAuthenticator</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-payment-intent-result/index.html">PaymentIntentResult</a></div><div class="brief "><p class="paragraph">Confirm and authenticate a <a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a> using the Alipay SDK</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-2102306672%2FFunctions%2F1599408092" anchor-label="confirmPayment" id="-2102306672%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="confirm-payment.html"><span>confirm</span><wbr><span><span>Payment</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2102306672%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div></div><span class="token keyword">fun </span><a href="confirm-payment.html"><span class="token function">confirmPayment</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">activity<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.html">ComponentActivity</a><span class="token punctuation">, </span></span><span class="parameter ">confirmPaymentIntentParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-confirm-payment-intent-params/index.html">ConfirmPaymentIntentParams</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div></div><span class="token keyword">fun </span><a href="confirm-payment.html"><span class="token function">confirmPayment</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">fragment<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/fragment/app/Fragment.html">Fragment</a><span class="token punctuation">, </span></span><span class="parameter ">confirmPaymentIntentParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-confirm-payment-intent-params/index.html">ConfirmPaymentIntentParams</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Confirm and, if necessary, authenticate a <a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a>. Used for <a href="https://stripe.com/docs/payments/payment-intents/quickstart#automatic-confirmation-flow">automatic confirmation</a> flow.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1120183960%2FFunctions%2F1599408092" anchor-label="confirmPaymentIntent" id="1120183960%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../confirm-payment-intent.html"><span>confirm</span><wbr><span>Payment</span><wbr><span><span>Intent</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1120183960%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../confirm-payment-intent.html"><span class="token function">confirmPaymentIntent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">confirmPaymentIntentParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-confirm-payment-intent-params/index.html">ConfirmPaymentIntentParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a></div><div class="brief "><p class="paragraph">Suspend function to confirm a <a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a> object.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-355059936%2FFunctions%2F1599408092" anchor-label="confirmPaymentIntentSynchronous" id="-355059936%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="confirm-payment-intent-synchronous.html"><span>confirm</span><wbr><span>Payment</span><wbr><span>Intent</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-355059936%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="confirm-payment-intent-synchronous.html"><span class="token function"><strike>confirmPaymentIntentSynchronous</strike></span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">confirmPaymentIntentParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-confirm-payment-intent-params/index.html">ConfirmPaymentIntentParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a></div><div class="brief "><p class="paragraph">Blocking method to confirm a <a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a> object. Do not call this on the UI thread or your app will crash.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-332170914%2FFunctions%2F1599408092" anchor-label="confirmSetupIntent" id="-332170914%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="confirm-setup-intent.html"><span>confirm</span><wbr><span>Setup</span><wbr><span><span>Intent</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-332170914%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="confirm-setup-intent.html"><span class="token function">confirmSetupIntent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">activity<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.html">ComponentActivity</a><span class="token punctuation">, </span></span><span class="parameter ">confirmSetupIntentParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-confirm-setup-intent-params/index.html">ConfirmSetupIntentParams</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="confirm-setup-intent.html"><span class="token function">confirmSetupIntent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">fragment<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/fragment/app/Fragment.html">Fragment</a><span class="token punctuation">, </span></span><span class="parameter ">confirmSetupIntentParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-confirm-setup-intent-params/index.html">ConfirmSetupIntentParams</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Confirm and, if necessary, authenticate a <a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a>.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="2032182787%2FFunctions%2F1599408092" anchor-label="confirmSetupIntent" id="2032182787%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../confirm-setup-intent.html"><span>confirm</span><wbr><span>Setup</span><wbr><span><span>Intent</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2032182787%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../confirm-setup-intent.html"><span class="token function">confirmSetupIntent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">confirmSetupIntentParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-confirm-setup-intent-params/index.html">ConfirmSetupIntentParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">expand<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator"> = </span>emptyList()</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a></div><div class="brief "><p class="paragraph">Suspend function to confirm a <a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a> object.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1696452146%2FFunctions%2F1599408092" anchor-label="confirmSetupIntentSynchronous" id="-1696452146%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="confirm-setup-intent-synchronous.html"><span>confirm</span><wbr><span>Setup</span><wbr><span>Intent</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1696452146%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="confirm-setup-intent-synchronous.html"><span class="token function"><strike>confirmSetupIntentSynchronous</strike></span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">confirmSetupIntentParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-confirm-setup-intent-params/index.html">ConfirmSetupIntentParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a></div><div class="brief "><p class="paragraph">Blocking method to confirm a <a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a> object. Do not call this on the UI thread or your app will crash.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="368881860%2FFunctions%2F1599408092" anchor-label="confirmWeChatPayPayment" id="368881860%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="confirm-we-chat-pay-payment.html"><span>confirm</span><wbr><span>We</span><wbr><span>Chat</span><wbr><span>Pay</span><wbr><span><span>Payment</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="368881860%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="confirm-we-chat-pay-payment.html"><span class="token function"><strike>confirmWeChatPayPayment</strike></span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">confirmPaymentIntentParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-confirm-payment-intent-params/index.html">ConfirmPaymentIntentParams</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-we-chat-pay-next-action/index.html">WeChatPayNextAction</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Confirm a <a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a> for WeChat Pay. Extract params from <a href="../../com.stripe.android.model/-we-chat-pay-next-action/index.html">WeChatPayNextAction</a> to pass to WeChat Pay SDK.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-2075049628%2FFunctions%2F1599408092" anchor-label="confirmWeChatPayPayment" id="-2075049628%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../confirm-we-chat-pay-payment.html"><span>confirm</span><wbr><span>We</span><wbr><span>Chat</span><wbr><span>Pay</span><wbr><span><span>Payment</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2075049628%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../confirm-we-chat-pay-payment.html"><span class="token function">confirmWeChatPayPayment</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">confirmPaymentIntentParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-confirm-payment-intent-params/index.html">ConfirmPaymentIntentParams</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-we-chat-pay-next-action/index.html">WeChatPayNextAction</a></div><div class="brief "><p class="paragraph">Suspend function to confirm a <a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a> for WeChat Pay. Extract params from <a href="../../com.stripe.android.model/-we-chat-pay-next-action/index.html">WeChatPayNextAction</a> to pass to WeChat Pay SDK.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1284668041%2FFunctions%2F1599408092" anchor-label="createAccountToken" id="1284668041%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-account-token.html"><span>create</span><wbr><span>Account</span><wbr><span><span>Token</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1284668041%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-account-token.html"><span class="token function">createAccountToken</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">accountParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-account-params/index.html">AccountParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Create a <a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a> asynchronously.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1698724857%2FFunctions%2F1599408092" anchor-label="createAccountToken" id="-1698724857%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../create-account-token.html"><span>create</span><wbr><span>Account</span><wbr><span><span>Token</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1698724857%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../create-account-token.html"><span class="token function">createAccountToken</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">accountParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-account-params/index.html">AccountParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a></div><div class="brief "><p class="paragraph">Create a <a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a> from a coroutine.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1289901519%2FFunctions%2F1599408092" anchor-label="createAccountTokenSynchronous" id="1289901519%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-account-token-synchronous.html"><span>create</span><wbr><span>Account</span><wbr><span>Token</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1289901519%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-account-token-synchronous.html"><span class="token function">createAccountTokenSynchronous</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">accountParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-account-params/index.html">AccountParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a></div><div class="brief "><p class="paragraph">Blocking method to create a <a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a> for a Connect Account. Do not call this on the UI thread or your app will crash.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-2020864124%2FFunctions%2F1599408092" anchor-label="createBankAccountToken" id="-2020864124%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-bank-account-token.html"><span>create</span><wbr><span>Bank</span><wbr><span>Account</span><wbr><span><span>Token</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2020864124%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-bank-account-token.html"><span class="token function">createBankAccountToken</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bankAccountTokenParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-bank-account-token-params/index.html">BankAccountTokenParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Create a <a href="../../../payments-model/com.stripe.android.model/-bank-account/index.html">BankAccount</a> token asynchronously.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1107017826%2FFunctions%2F1599408092" anchor-label="createBankAccountToken" id="-1107017826%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../create-bank-account-token.html"><span>create</span><wbr><span>Bank</span><wbr><span>Account</span><wbr><span><span>Token</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1107017826%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../create-bank-account-token.html"><span class="token function">createBankAccountToken</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bankAccountTokenParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-bank-account-token-params/index.html">BankAccountTokenParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a></div><div class="brief "><p class="paragraph">Create a bank account token from a coroutine.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="600317782%2FFunctions%2F1599408092" anchor-label="createBankAccountTokenSynchronous" id="600317782%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-bank-account-token-synchronous.html"><span>create</span><wbr><span>Bank</span><wbr><span>Account</span><wbr><span>Token</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="600317782%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-bank-account-token-synchronous.html"><span class="token function">createBankAccountTokenSynchronous</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bankAccountTokenParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-bank-account-token-params/index.html">BankAccountTokenParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a></div><div class="brief "><p class="paragraph">Blocking method to create a <a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a> for a <a href="../../../payments-model/com.stripe.android.model/-bank-account/index.html">BankAccount</a>. Do not call this on the UI thread or your app will crash.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-959990913%2FFunctions%2F1599408092" anchor-label="createCardToken" id="-959990913%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-card-token.html"><span>create</span><wbr><span>Card</span><wbr><span><span>Token</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-959990913%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-card-token.html"><span class="token function">createCardToken</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">cardParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-card-params/index.html">CardParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Create a Card token asynchronously.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="282969219%2FFunctions%2F1599408092" anchor-label="createCardToken" id="282969219%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../create-card-token.html"><span>create</span><wbr><span>Card</span><wbr><span><span>Token</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="282969219%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../create-card-token.html"><span class="token function">createCardToken</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">cardParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-card-params/index.html">CardParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a></div><div class="brief "><p class="paragraph">Create a Card token from a coroutine.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-759960639%2FFunctions%2F1599408092" anchor-label="createCardTokenSynchronous" id="-759960639%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-card-token-synchronous.html"><span>create</span><wbr><span>Card</span><wbr><span>Token</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-759960639%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-card-token-synchronous.html"><span class="token function">createCardTokenSynchronous</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">cardParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-card-params/index.html">CardParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a></div><div class="brief "><p class="paragraph">Blocking method to create a <a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a>. Do not call this on the UI thread or your app will crash.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-774083420%2FFunctions%2F1599408092" anchor-label="createCvcUpdateToken" id="-774083420%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-cvc-update-token.html"><span>create</span><wbr><span>Cvc</span><wbr><span>Update</span><wbr><span><span>Token</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-774083420%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-cvc-update-token.html"><span class="token function">createCvcUpdateToken</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/Size.html"><span class="token annotation builtin">Size</span></a><span class="token punctuation">(</span><span>min<span class="token operator"> = </span><span class="breakable-word"><span class="token constant">3</span></span><span class="token punctuation">, </span></span><wbr><span>max<span class="token operator"> = </span><span class="breakable-word"><span class="token constant">4</span></span></span><wbr><span class="token punctuation">)</span>&nbsp;</span>cvc<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Create a CVC update token asynchronously.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="539827278%2FFunctions%2F1599408092" anchor-label="createCvcUpdateToken" id="539827278%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../create-cvc-update-token.html"><span>create</span><wbr><span>Cvc</span><wbr><span>Update</span><wbr><span><span>Token</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="539827278%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../create-cvc-update-token.html"><span class="token function">createCvcUpdateToken</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/Size.html"><span class="token annotation builtin">Size</span></a><span class="token punctuation">(</span><span>min<span class="token operator"> = </span><span class="breakable-word"><span class="token constant">3</span></span><span class="token punctuation">, </span></span><wbr><span>max<span class="token operator"> = </span><span class="breakable-word"><span class="token constant">4</span></span></span><wbr><span class="token punctuation">)</span>&nbsp;</span>cvc<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a></div><div class="brief "><p class="paragraph">Create a CVC update token from a coroutine.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-94791866%2FFunctions%2F1599408092" anchor-label="createCvcUpdateTokenSynchronous" id="-94791866%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-cvc-update-token-synchronous.html"><span>create</span><wbr><span>Cvc</span><wbr><span>Update</span><wbr><span>Token</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-94791866%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-cvc-update-token-synchronous.html"><span class="token function">createCvcUpdateTokenSynchronous</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">cvc<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a></div><div class="brief "><p class="paragraph">Blocking method to create a <a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a> for CVC updating. Do not call this on the UI thread or your app will crash.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="857880919%2FFunctions%2F1599408092" anchor-label="createFile" id="857880919%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-file.html"><span>create</span><wbr><span><span>File</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="857880919%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-file.html"><span class="token function">createFile</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">fileParams<span class="token operator">: </span><span data-unresolved-link="com.stripe.android.core.model/StripeFileParams///PointingToDeclaration/">StripeFileParams</span><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><span data-unresolved-link="com.stripe.android.core.model/StripeFile///PointingToDeclaration/">StripeFile</span><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph"><a href="https://stripe.com/docs/api/files/create">Create a file</a> asynchronously</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-323524094%2FFunctions%2F1599408092" anchor-label="createFile" id="-323524094%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../create-file.html"><span>create</span><wbr><span><span>File</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-323524094%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../create-file.html"><span class="token function">createFile</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">fileParams<span class="token operator">: </span><span data-unresolved-link="com.stripe.android.core.model/StripeFileParams///PointingToDeclaration/">StripeFileParams</span><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="com.stripe.android.core.model/StripeFile///PointingToDeclaration/">StripeFile</span></div><div class="brief "><p class="paragraph">Create a <span data-unresolved-link="com.stripe.android.core.model/StripeFile///PointingToDeclaration/">StripeFile</span> from a coroutine.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-338621750%2FFunctions%2F1599408092" anchor-label="createFileSynchronous" id="-338621750%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-file-synchronous.html"><span>create</span><wbr><span>File</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-338621750%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-file-synchronous.html"><span class="token function">createFileSynchronous</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">fileParams<span class="token operator">: </span><span data-unresolved-link="com.stripe.android.core.model/StripeFileParams///PointingToDeclaration/">StripeFileParams</span><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="com.stripe.android.core.model/StripeFile///PointingToDeclaration/">StripeFile</span></div><div class="brief "><p class="paragraph"><a href="https://stripe.com/docs/api/files/create">Create a file</a> synchronously</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1322929012%2FFunctions%2F1599408092" anchor-label="createPaymentMethod" id="1322929012%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-payment-method.html"><span>create</span><wbr><span>Payment</span><wbr><span><span>Method</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1322929012%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-payment-method.html"><span class="token function">createPaymentMethod</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">paymentMethodCreateParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-method-create-params/index.html">PaymentMethodCreateParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-payment-method/index.html">PaymentMethod</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Create a <a href="../../com.stripe.android.model/-payment-method/index.html">PaymentMethod</a> asynchronously.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1848704062%2FFunctions%2F1599408092" anchor-label="createPaymentMethod" id="1848704062%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../create-payment-method.html"><span>create</span><wbr><span>Payment</span><wbr><span><span>Method</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1848704062%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../create-payment-method.html"><span class="token function">createPaymentMethod</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">paymentMethodCreateParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-method-create-params/index.html">PaymentMethodCreateParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-method/index.html">PaymentMethod</a></div><div class="brief "><p class="paragraph">Create a <a href="../../com.stripe.android.model/-payment-method/index.html">PaymentMethod</a> from a coroutine.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-866240704%2FFunctions%2F1599408092" anchor-label="createPaymentMethodSynchronous" id="-866240704%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-payment-method-synchronous.html"><span>create</span><wbr><span>Payment</span><wbr><span>Method</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-866240704%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-payment-method-synchronous.html"><span class="token function">createPaymentMethodSynchronous</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">paymentMethodCreateParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-method-create-params/index.html">PaymentMethodCreateParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-method/index.html">PaymentMethod</a></div><div class="brief "><p class="paragraph">Blocking method to create a <a href="../../com.stripe.android.model/-payment-method/index.html">PaymentMethod</a> object. Do not call this on the UI thread or your app will crash.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="39435524%2FFunctions%2F1599408092" anchor-label="createPersonToken" id="39435524%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-person-token.html"><span>create</span><wbr><span>Person</span><wbr><span><span>Token</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="39435524%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-person-token.html"><span class="token function">createPersonToken</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">params<span class="token operator">: </span><a href="../../com.stripe.android.model/-person-token-params/index.html">PersonTokenParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Creates a single-use token that represents the details for a person. Use this when creating or updating persons associated with a Connect account. See <a href="https://stripe.com/docs/connect/account-tokens">the documentation</a> to learn more.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1736149370%2FFunctions%2F1599408092" anchor-label="createPersonToken" id="1736149370%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../create-person-token.html"><span>create</span><wbr><span>Person</span><wbr><span><span>Token</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1736149370%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../create-person-token.html"><span class="token function">createPersonToken</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">params<span class="token operator">: </span><a href="../../com.stripe.android.model/-person-token-params/index.html">PersonTokenParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a></div><div class="brief "><p class="paragraph">Creates a single-use token that represents the details for a person. Use this when creating or updating persons associated with a Connect account. See <a href="https://stripe.com/docs/connect/account-tokens">the documentation</a> to learn more.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="999482492%2FFunctions%2F1599408092" anchor-label="createPersonTokenSynchronous" id="999482492%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-person-token-synchronous.html"><span>create</span><wbr><span>Person</span><wbr><span>Token</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="999482492%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-person-token-synchronous.html"><span class="token function">createPersonTokenSynchronous</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">params<span class="token operator">: </span><a href="../../com.stripe.android.model/-person-token-params/index.html">PersonTokenParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a></div><div class="brief "><p class="paragraph">Creates a single-use token that represents the details for a person. Use this when creating or updating persons associated with a Connect account. See <a href="https://stripe.com/docs/connect/account-tokens">the documentation</a> to learn more.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1692536635%2FFunctions%2F1599408092" anchor-label="createPiiToken" id="1692536635%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-pii-token.html"><span>create</span><wbr><span>Pii</span><wbr><span><span>Token</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1692536635%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-pii-token.html"><span class="token function">createPiiToken</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">personalId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Create a PII token asynchronously.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1880481701%2FFunctions%2F1599408092" anchor-label="createPiiToken" id="1880481701%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../create-pii-token.html"><span>create</span><wbr><span>Pii</span><wbr><span><span>Token</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1880481701%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../create-pii-token.html"><span class="token function">createPiiToken</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">personalId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a></div><div class="brief "><p class="paragraph">Create a PII token from a coroutine.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="264299677%2FFunctions%2F1599408092" anchor-label="createPiiTokenSynchronous" id="264299677%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-pii-token-synchronous.html"><span>create</span><wbr><span>Pii</span><wbr><span>Token</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="264299677%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-pii-token-synchronous.html"><span class="token function">createPiiTokenSynchronous</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">personalId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a></div><div class="brief "><p class="paragraph">Blocking method to create a <a href="../../../payments-model/com.stripe.android.model/-token/index.html">Token</a> for PII. Do not call this on the UI thread or your app will crash.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1919013367%2FFunctions%2F1599408092" anchor-label="createRadarSession" id="1919013367%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-radar-session.html"><span>create</span><wbr><span>Radar</span><wbr><span><span>Session</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1919013367%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-radar-session.html"><span class="token function">createRadarSession</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-radar-session/index.html">RadarSession</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter ">activity<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/appcompat/app/AppCompatActivity.html">AppCompatActivity</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Create a Radar Session asynchronously.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1854806174%2FFunctions%2F1599408092" anchor-label="createRadarSession" id="-1854806174%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../create-radar-session.html"><span>create</span><wbr><span>Radar</span><wbr><span><span>Session</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1854806174%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../create-radar-session.html"><span class="token function">createRadarSession</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">activity<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/fragment/app/FragmentActivity.html">FragmentActivity</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-radar-session/index.html">RadarSession</a></div><div class="brief "><p class="paragraph">Create a Radar Session.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-401026248%2FFunctions%2F1599408092" anchor-label="createSource" id="-401026248%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-source.html"><span>create</span><wbr><span><span>Source</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-401026248%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-source.html"><span class="token function">createSource</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">sourceParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-source-params/index.html">SourceParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-source/index.html">Source</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Create a <a href="../../com.stripe.android.model/-source/index.html">Source</a> asynchronously.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1959138632%2FFunctions%2F1599408092" anchor-label="createSource" id="-1959138632%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../create-source.html"><span>create</span><wbr><span><span>Source</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1959138632%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../create-source.html"><span class="token function">createSource</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">sourceParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-source-params/index.html">SourceParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-source/index.html">Source</a></div><div class="brief "><p class="paragraph">Create a <a href="../../com.stripe.android.model/-source/index.html">Source</a> from a coroutine.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1607399280%2FFunctions%2F1599408092" anchor-label="createSourceSynchronous" id="1607399280%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="create-source-synchronous.html"><span>create</span><wbr><span>Source</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1607399280%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="create-source-synchronous.html"><span class="token function">createSourceSynchronous</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">params<span class="token operator">: </span><a href="../../com.stripe.android.model/-source-params/index.html">SourceParams</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-source/index.html">Source</a></div><div class="brief "><p class="paragraph">Blocking method to create a <a href="../../com.stripe.android.model/-source/index.html">Source</a> object. Do not call this on the UI thread or your app will crash.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="802374410%2FFunctions%2F1599408092" anchor-label="getAuthenticateSourceResult" id="802374410%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../get-authenticate-source-result.html"><span>get</span><wbr><span>Authenticate</span><wbr><span>Source</span><wbr><span><span>Result</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="802374410%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../get-authenticate-source-result.html"><span class="token function">getAuthenticateSourceResult</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">requestCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">data<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-source/index.html">Source</a></div><div class="brief "><p class="paragraph">Get the <a href="../../com.stripe.android.model/-source/index.html">Source</a> from <a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a> returned via Activity#onActivityResult(int, int, Intent)}} for <a href="../../com.stripe.android.model/-source/index.html">Source</a> authentication. (see <a href="authenticate-source.html">Stripe.authenticateSource</a>)</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1799353902%2FFunctions%2F1599408092" anchor-label="getPaymentIntentResult" id="1799353902%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../get-payment-intent-result.html"><span>get</span><wbr><span>Payment</span><wbr><span>Intent</span><wbr><span><span>Result</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1799353902%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../get-payment-intent-result.html"><span class="token function">getPaymentIntentResult</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">requestCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">data<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-payment-intent-result/index.html">PaymentIntentResult</a></div><div class="brief "><p class="paragraph">Get the <a href="../-payment-intent-result/index.html">PaymentIntentResult</a> from <a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a> returned via Activity#onActivityResult(int, int, Intent)}} for PaymentIntent automatic confirmation (see <a href="confirm-payment.html">Stripe.confirmPayment</a>) or manual confirmation (see <a href="handle-next-action-for-payment.html">Stripe.handleNextActionForPayment</a>})</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1411723671%2FFunctions%2F1599408092" anchor-label="getSetupIntentResult" id="1411723671%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../get-setup-intent-result.html"><span>get</span><wbr><span>Setup</span><wbr><span>Intent</span><wbr><span><span>Result</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1411723671%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../get-setup-intent-result.html"><span class="token function">getSetupIntentResult</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">requestCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">data<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-setup-intent-result/index.html">SetupIntentResult</a></div><div class="brief "><p class="paragraph">Get the <a href="../-setup-intent-result/index.html">SetupIntentResult</a> from <a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a> returned via Activity#onActivityResult(int, int, Intent)}} for SetupIntentResult confirmation. (see <a href="../confirm-setup-intent.html">confirmSetupIntent</a>)</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1280969100%2FFunctions%2F1599408092" anchor-label="handleNextActionForPayment" id="1280969100%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="handle-next-action-for-payment.html"><span>handle</span><wbr><span>Next</span><wbr><span>Action</span><wbr><span>For</span><wbr><span><span>Payment</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1280969100%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div></div><span class="token keyword">fun </span><a href="handle-next-action-for-payment.html"><span class="token function">handleNextActionForPayment</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">activity<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.html">ComponentActivity</a><span class="token punctuation">, </span></span><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div></div><span class="token keyword">fun </span><a href="handle-next-action-for-payment.html"><span class="token function">handleNextActionForPayment</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">fragment<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/fragment/app/Fragment.html">Fragment</a><span class="token punctuation">, </span></span><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Handle the <a href="https://stripe.com/docs/api/payment_intents/object#payment_intent_object-next_action">next_action</a> for a previously confirmed <a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a>.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1347012524%2FFunctions%2F1599408092" anchor-label="handleNextActionForSetupIntent" id="1347012524%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="handle-next-action-for-setup-intent.html"><span>handle</span><wbr><span>Next</span><wbr><span>Action</span><wbr><span>For</span><wbr><span>Setup</span><wbr><span><span>Intent</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1347012524%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="handle-next-action-for-setup-intent.html"><span class="token function">handleNextActionForSetupIntent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">activity<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.html">ComponentActivity</a><span class="token punctuation">, </span></span><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="handle-next-action-for-setup-intent.html"><span class="token function">handleNextActionForSetupIntent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">fragment<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/androidx/fragment/app/Fragment.html">Fragment</a><span class="token punctuation">, </span></span><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Handle <a href="https://stripe.com/docs/api/setup_intents/object#setup_intent_object-next_action">next_action</a> for a previously confirmed <a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a>. Used for manual confirmation flow.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1798398870%2FFunctions%2F1599408092" anchor-label="isAuthenticateSourceResult" id="-1798398870%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="is-authenticate-source-result.html"><span>is</span><wbr><span>Authenticate</span><wbr><span>Source</span><wbr><span><span>Result</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1798398870%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="is-authenticate-source-result.html"><span class="token function">isAuthenticateSourceResult</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">requestCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">data<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a></div><div class="brief "><p class="paragraph">Check if the requestCode and <a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a> is for <a href="../../com.stripe.android.model/-source/index.html">Source</a> authentication. The <a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a> should be retrieved from the result from <code class="lang-kotlin">Activity#onActivityResult(int, int, Intent)}}</code> by <a href="https://developer.android.com/reference/kotlin/android/app/Activity.html">Activity</a> started with <a href="authenticate-source.html">authenticateSource</a>.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="712331620%2FFunctions%2F1599408092" anchor-label="isPaymentResult" id="712331620%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="is-payment-result.html"><span>is</span><wbr><span>Payment</span><wbr><span><span>Result</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="712331620%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="is-payment-result.html"><span class="token function">isPaymentResult</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">requestCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">data<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a></div><div class="brief "><p class="paragraph">Check if the requestCode and <a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a> is for <a href="../-payment-intent-result/index.html">PaymentIntentResult</a>. The <a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a> should be retrieved from the result from <code class="lang-kotlin">Activity#onActivityResult(int, int, Intent)}}</code> by <a href="https://developer.android.com/reference/kotlin/android/app/Activity.html">Activity</a> started with <a href="confirm-payment.html">confirmPayment</a> or <a href="handle-next-action-for-payment.html">handleNextActionForPayment</a>.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="835448269%2FFunctions%2F1599408092" anchor-label="isSetupResult" id="835448269%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="is-setup-result.html"><span>is</span><wbr><span>Setup</span><wbr><span><span>Result</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="835448269%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="is-setup-result.html"><span class="token function">isSetupResult</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">requestCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">data<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a></div><div class="brief "><p class="paragraph">Check if the requestCode and <a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a> is for <a href="../-setup-intent-result/index.html">SetupIntentResult</a>. The <a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a> should be retrieved from the result from <code class="lang-kotlin">Activity#onActivityResult(int, int, Intent)}}</code> by <a href="https://developer.android.com/reference/kotlin/android/app/Activity.html">Activity</a> started with <a href="confirm-setup-intent.html">confirmSetupIntent</a>.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-663617254%2FFunctions%2F1599408092" anchor-label="onAuthenticateSourceResult" id="-663617254%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-authenticate-source-result.html"><span>on</span><wbr><span>Authenticate</span><wbr><span>Source</span><wbr><span><span>Result</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-663617254%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="on-authenticate-source-result.html"><span class="token function">onAuthenticateSourceResult</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">data<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a><span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-source/index.html">Source</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">The result of a call to <a href="authenticate-source.html">authenticateSource</a>.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1532581497%2FFunctions%2F1599408092" anchor-label="onPaymentResult" id="-1532581497%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-payment-result.html"><span>on</span><wbr><span>Payment</span><wbr><span><span>Result</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1532581497%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div></div><span class="token keyword">fun </span><a href="on-payment-result.html"><span class="token function">onPaymentResult</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">requestCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">data<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../-payment-intent-result/index.html">PaymentIntentResult</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a></div><div class="brief "><p class="paragraph">Should be called via <code class="lang-kotlin">Activity#onActivityResult(int, int, Intent)}}</code> to handle the result of a PaymentIntent automatic confirmation (see <a href="confirm-payment.html">confirmPayment</a>) or manual confirmation (see <a href="handle-next-action-for-payment.html">handleNextActionForPayment</a>})</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-551395787%2FFunctions%2F1599408092" anchor-label="onSetupResult" id="-551395787%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="on-setup-result.html"><span>on</span><wbr><span>Setup</span><wbr><span><span>Result</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-551395787%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div></div><span class="token keyword">fun </span><a href="on-setup-result.html"><span class="token function">onSetupResult</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">requestCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">data<span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/android/content/Intent.html">Intent</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../-setup-intent-result/index.html">SetupIntentResult</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a></div><div class="brief "><p class="paragraph">Should be called via <code class="lang-kotlin">Activity#onActivityResult(int, int, Intent)}}</code> to handle the result of a SetupIntent confirmation (see <a href="confirm-setup-intent.html">confirmSetupIntent</a>).</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-575744332%2FFunctions%2F1599408092" anchor-label="retrievePaymentIntent" id="-575744332%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="retrieve-payment-intent.html"><span>retrieve</span><wbr><span>Payment</span><wbr><span><span>Intent</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-575744332%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="retrieve-payment-intent.html"><span class="token function">retrievePaymentIntent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">expand<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator"> = </span>emptyList()<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Retrieve a <a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a> asynchronously.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1998624197%2FFunctions%2F1599408092" anchor-label="retrievePaymentIntent" id="1998624197%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../retrieve-payment-intent.html"><span>retrieve</span><wbr><span>Payment</span><wbr><span><span>Intent</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1998624197%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../retrieve-payment-intent.html"><span class="token function">retrievePaymentIntent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">expand<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator"> = </span>emptyList()</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a></div><div class="brief "><p class="paragraph">Retrieve a <a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a> from a coroutine.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-98081917%2FFunctions%2F1599408092" anchor-label="retrievePaymentIntentSynchronous" id="-98081917%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="retrieve-payment-intent-synchronous.html"><span>retrieve</span><wbr><span>Payment</span><wbr><span>Intent</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-98081917%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="retrieve-payment-intent-synchronous.html"><span class="token function">retrievePaymentIntentSynchronous</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">expand<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator"> = </span>emptyList()</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a></div><div class="brief "><p class="paragraph">Blocking method to retrieve a <a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a> object. Do not call this on the UI thread or your app will crash.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1556908311%2FFunctions%2F1599408092" anchor-label="retrievePossibleBrands" id="1556908311%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="retrieve-possible-brands.html"><span>retrieve</span><wbr><span>Possible</span><wbr><span><span>Brands</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1556908311%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="retrieve-possible-brands.html"><span class="token function">retrievePossibleBrands</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">cardNumber<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-possible-brands/index.html">PossibleBrands</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Retrieve a list of possible brands for the given card number. Returns an error if the cardNumber length is less than 6 characters.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1796469743%2FFunctions%2F1599408092" anchor-label="retrievePossibleBrands" id="-1796469743%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../retrieve-possible-brands.html"><span>retrieve</span><wbr><span>Possible</span><wbr><span><span>Brands</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1796469743%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../retrieve-possible-brands.html"><span class="token function">retrievePossibleBrands</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">cardNumber<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-possible-brands/index.html">PossibleBrands</a></div><div class="brief "><p class="paragraph">Retrieve a list of possible brands for the given card number. Returns an error if the cardNumber length is less than 6 characters.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1379398700%2FFunctions%2F1599408092" anchor-label="retrieveSetupIntent" id="-1379398700%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="retrieve-setup-intent.html"><span>retrieve</span><wbr><span>Setup</span><wbr><span><span>Intent</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1379398700%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="retrieve-setup-intent.html"><span class="token function">retrieveSetupIntent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">expand<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator"> = </span>emptyList()<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Retrieve a <a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a> asynchronously.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1485605038%2FFunctions%2F1599408092" anchor-label="retrieveSetupIntent" id="1485605038%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../retrieve-setup-intent.html"><span>retrieve</span><wbr><span>Setup</span><wbr><span><span>Intent</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1485605038%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../retrieve-setup-intent.html"><span class="token function">retrieveSetupIntent</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">expand<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator"> = </span>emptyList()</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a></div><div class="brief "><p class="paragraph">Retrieve a <a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a> asynchronously.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="624657132%2FFunctions%2F1599408092" anchor-label="retrieveSetupIntentSynchronous" id="624657132%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="retrieve-setup-intent-synchronous.html"><span>retrieve</span><wbr><span>Setup</span><wbr><span>Intent</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="624657132%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="retrieve-setup-intent-synchronous.html"><span class="token function">retrieveSetupIntentSynchronous</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">expand<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span><span class="token operator"> = </span>emptyList()</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a></div><div class="brief "><p class="paragraph">Blocking method to retrieve a <a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a> object. Do not call this on the UI thread or your app will crash.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1401449812%2FFunctions%2F1599408092" anchor-label="retrieveSource" id="1401449812%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="retrieve-source.html"><span>retrieve</span><wbr><span><span>Source</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1401449812%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div></div><span class="token keyword">fun </span><a href="retrieve-source.html"><span class="token function">retrieveSource</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/Size.html"><span class="token annotation builtin">Size</span></a><span class="token punctuation">(</span><span>min<span class="token operator"> = </span><span class="breakable-word"><span class="token constant">1</span></span></span><wbr><span class="token punctuation">)</span>&nbsp;</span>sourceId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/Size.html"><span class="token annotation builtin">Size</span></a><span class="token punctuation">(</span><span>min<span class="token operator"> = </span><span class="breakable-word"><span class="token constant">1</span></span></span><wbr><span class="token punctuation">)</span>&nbsp;</span>clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-source/index.html">Source</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Retrieve a <a href="../../com.stripe.android.model/-source/index.html">Source</a> asynchronously.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1388193754%2FFunctions%2F1599408092" anchor-label="retrieveSource" id="-1388193754%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../retrieve-source.html"><span>retrieve</span><wbr><span><span>Source</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1388193754%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../retrieve-source.html"><span class="token function">retrieveSource</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/Size.html"><span class="token annotation builtin">Size</span></a><span class="token punctuation">(</span><span>min<span class="token operator"> = </span><span class="breakable-word"><span class="token constant">1</span></span></span><wbr><span class="token punctuation">)</span>&nbsp;</span>sourceId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/Size.html"><span class="token annotation builtin">Size</span></a><span class="token punctuation">(</span><span>min<span class="token operator"> = </span><span class="breakable-word"><span class="token constant">1</span></span></span><wbr><span class="token punctuation">)</span>&nbsp;</span>clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-source/index.html">Source</a></div><div class="brief "><p class="paragraph">Retrieve a <a href="../../com.stripe.android.model/-source/index.html">Source</a> from a coroutine.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1048230830%2FFunctions%2F1599408092" anchor-label="retrieveSourceSynchronous" id="1048230830%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="retrieve-source-synchronous.html"><span>retrieve</span><wbr><span>Source</span><wbr><span><span>Synchronous</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1048230830%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/WorkerThread.html"><span class="token annotation builtin">WorkerThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="retrieve-source-synchronous.html"><span class="token function">retrieveSourceSynchronous</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/Size.html"><span class="token annotation builtin">Size</span></a><span class="token punctuation">(</span><span>min<span class="token operator"> = </span><span class="breakable-word"><span class="token constant">1</span></span></span><wbr><span class="token punctuation">)</span>&nbsp;</span>sourceId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/Size.html"><span class="token annotation builtin">Size</span></a><span class="token punctuation">(</span><span>min<span class="token operator"> = </span><span class="breakable-word"><span class="token constant">1</span></span></span><wbr><span class="token punctuation">)</span>&nbsp;</span>clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-source/index.html">Source</a></div><div class="brief "><p class="paragraph">Retrieve an existing <a href="../../com.stripe.android.model/-source/index.html">Source</a> from the Stripe API. Do not call this on the UI thread or your app will crash.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1357851276%2FFunctions%2F1599408092" anchor-label="updatePaymentMethod" id="-1357851276%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="update-payment-method.html"><span>update</span><wbr><span>Payment</span><wbr><span><span>Method</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1357851276%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-overloads/index.html"><span class="token annotation builtin">JvmOverloads</span></a></div></div><span class="token keyword">fun </span><a href="update-payment-method.html"><span class="token function">updatePaymentMethod</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">paymentMethodId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">paymentMethodUpdateParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-method-update-params/index.html">PaymentMethodUpdateParams</a><span class="token punctuation">, </span></span><span class="parameter ">ephemeralKeySecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId<span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-payment-method/index.html">PaymentMethod</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Update a <a href="../../com.stripe.android.model/-payment-method/index.html">PaymentMethod</a> asynchronously.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1721360708%2FFunctions%2F1599408092" anchor-label="updatePaymentMethod" id="1721360708%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../update-payment-method.html"><span>update</span><wbr><span>Payment</span><wbr><span><span>Method</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1721360708%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../update-payment-method.html"><span class="token function">updatePaymentMethod</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">paymentMethodId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">paymentMethodUpdateParams<span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-method-update-params/index.html">PaymentMethodUpdateParams</a><span class="token punctuation">, </span></span><span class="parameter ">ephemeralKeySecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">idempotencyKey<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter ">stripeAccountId<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>this.stripeAccountId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-method/index.html">PaymentMethod</a></div><div class="brief "><p class="paragraph">Update a <a href="../../com.stripe.android.model/-payment-method/index.html">PaymentMethod</a> from a coroutine.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="184422407%2FFunctions%2F1599408092" anchor-label="verifyPaymentIntentWithMicrodeposits" id="184422407%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="verify-payment-intent-with-microdeposits.html"><span>verify</span><wbr><span>Payment</span><wbr><span>Intent</span><wbr><span>With</span><wbr><span><span>Microdeposits</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="184422407%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div></div><span class="token keyword">fun </span><a href="verify-payment-intent-with-microdeposits.html"><span class="token function">verifyPaymentIntentWithMicrodeposits</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">descriptorCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div></div><span class="token keyword">fun </span><a href="verify-payment-intent-with-microdeposits.html"><span class="token function">verifyPaymentIntentWithMicrodeposits</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">firstAmount<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">secondAmount<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Verify a customer's bank account with micro-deposits</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1770853359%2FFunctions%2F1599408092" anchor-label="verifyPaymentIntentWithMicrodeposits" id="-1770853359%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../verify-payment-intent-with-microdeposits.html"><span>verify</span><wbr><span>Payment</span><wbr><span>Intent</span><wbr><span>With</span><wbr><span><span>Microdeposits</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1770853359%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../verify-payment-intent-with-microdeposits.html"><span class="token function">verifyPaymentIntentWithMicrodeposits</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">descriptorCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../verify-payment-intent-with-microdeposits.html"><span class="token function">verifyPaymentIntentWithMicrodeposits</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">firstAmount<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">secondAmount<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-payment-intent/index.html">PaymentIntent</a></div><div class="brief "><p class="paragraph">Suspend function to verify a customer's bank account with micro-deposits</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1627085049%2FFunctions%2F1599408092" anchor-label="verifySetupIntentWithMicrodeposits" id="-1627085049%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="verify-setup-intent-with-microdeposits.html"><span>verify</span><wbr><span>Setup</span><wbr><span>Intent</span><wbr><span>With</span><wbr><span><span>Microdeposits</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1627085049%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div></div><span class="token keyword">fun </span><a href="verify-setup-intent-with-microdeposits.html"><span class="token function">verifySetupIntentWithMicrodeposits</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">descriptorCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://developer.android.com/reference/kotlin/androidx/annotation/UiThread.html"><span class="token annotation builtin">UiThread</span></a></div></div><span class="token keyword">fun </span><a href="verify-setup-intent-with-microdeposits.html"><span class="token function">verifySetupIntentWithMicrodeposits</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">firstAmount<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">secondAmount<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">callback<span class="token operator">: </span><a href="../-api-result-callback/index.html">ApiResultCallback</a><span class="token operator">&lt;</span><a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Verify a customer's bank account with micro-deposits</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1980772239%2FFunctions%2F1599408092" anchor-label="verifySetupIntentWithMicrodeposits" id="-1980772239%2FFunctions%2F1599408092" data-filterable-set=":payments-core/main"></a>
          <div class="table-row table-row_content" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":payments-core/main" data-filterable-set=":payments-core/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../verify-setup-intent-with-microdeposits.html"><span>verify</span><wbr><span>Setup</span><wbr><span>Intent</span><wbr><span>With</span><wbr><span><span>Microdeposits</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1980772239%2FFunctions%2F1599408092"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":payments-core/main"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../verify-setup-intent-with-microdeposits.html"><span class="token function">verifySetupIntentWithMicrodeposits</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">descriptorCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="index.html">Stripe</a><span class="token punctuation">.</span><a href="../verify-setup-intent-with-microdeposits.html"><span class="token function">verifySetupIntentWithMicrodeposits</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">clientSecret<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">firstAmount<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">secondAmount<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html">Int</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../com.stripe.android.model/-setup-intent/index.html">SetupIntent</a></div><div class="brief "><p class="paragraph">Suspend function to verify a customer's bank account with micro-deposits</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
    <div class="footer">
        <div class="footer--container">
            <a href="#content" id="go-to-top-link" class="footer--button footer--button_go-to-top"></a>
            <div class="footer--content">
                <div>
                    <span>Generated by </span>
                    <a class="footer--link footer--link_external" href="https://github.com/Kotlin/dokka">
                        Dokka
                    </a>
                    <div>© 2025 Copyright</div>
                </div>
            </div>
        </div>
    </div>
        </div>
    </div>
</div>
</body>
</html>